package cn.edu.scau.cmi.linjinyong.consistentComposite;

public class Person extends Organization {

    public Person(){}
    public Person(String name){
        this.name = name;
    }
    @Override
    public void addTeammate(Organization teammate) {
        System.out.println("不能对个人执行此操作...");
    }

    @Override
    public void removeTeammate(Organization teammate) {
        System.out.println("不能对个人执行此操作...");
    }
}
